<script type="module">
	{
		function add(...values) {
			let sum = 0;
			for (var val of values) {
				sum += val;
			}
			return sum;
		}
		document.write(`用于获取函数的多余参数：${add(2, 5, 3)}<br></br>`);
	}
</script>